package com.songlanyun.modules.ad.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.songlanyun.modules.ad.entity.AdEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 广告表
 * 
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2020-11-11 13:55:19
 */
@Mapper
public interface AdDao extends BaseMapper<AdEntity> {

    List<AdEntity> getShopAdByAdL(Long shopId, String markCode);

    IPage<AdEntity> adPage(IPage<AdEntity> page, @Param("vo") Map<String, Object> params);
}
